package cn.ithers.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @Author: zhanghuan
 * @date: 2020/11/6 12:46
 * @description:
 */
@Data
public class RegisterUserDTO implements Serializable {

    @NotEmpty
    @ApiModelProperty(value = "用户名",required = true)
    private String userName;

    @NotEmpty
    @ApiModelProperty(value = "密码",required = true)
    private String password;

    @NotEmpty
    @ApiModelProperty(value = "邮箱",required = true)
    private String email;

    @ApiModelProperty(value = "个性签名")
    private String sign;

    @ApiModelProperty(value = "头像")
    private String avatar;

}
